//
//  ColorMacros.h
//  CommonProject
//
//  Created by dcr on 2017/8/18.
//  Copyright © 2017年 邓兆太. All rights reserved.
//

#ifndef ColorMacros_h
#define ColorMacros_h

//颜色
#define KClearColor [UIColor clearColor]
#define KWhiteColor [UIColor whiteColor]
#define KBlackColor [UIColor blackColor]
#define KGrayColor [UIColor grayColor]
#define KGray2Color [UIColor lightGrayColor]
#define KBlueColor [UIColor blueColor]
#define KRedColor [UIColor redColor]
#define ColorRGBA(r, g, b, a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(a)]
#define kRandomColor    [UIColor colorWithRed:(arc4random_uniform(256))/255.0 green:(arc4random_uniform(256))/255.0 blue:(arc4random_uniform(256))/255.0 alpha:(1.0)]        //随机色生成

#define TABBAR_BGC ColorRGBA(248, 248, 248, 1)
#define GLOBAL_BGC TABBAR_BGC

#define KC01_57c2de [UIColor colorWithHexString:@"#57c2de"]
#define KC02_2c2c2c [UIColor colorWithHexString:@"#2c2c2c"]
#define KC03_666666 [UIColor colorWithHexString:@"#666666"]
#define KC04_999999 [UIColor colorWithHexString:@"#999999"]
#define KC05_dddddd [UIColor colorWithHexString:@"#dddddd"]


#define CNavBgColor  [UIColor colorWithHexString:@"00AE68"]

//默认页面背景色
#define CViewBgColor [UIColor colorWithHexString:@"f2f2f2"]

//背景色
#define BackgroundColor [UIColor colorWithRed:(243)/255.0 green:(243)/255.0 blue:(243)/255.0 alpha:(1)]
//主色调  小面积使用，用于特别需要强调和突出的文字，按钮；如：标题栏、tab标题（选中）、注册按钮
//#define PrimaryColor [UIColor colorWithRed:(255)/255.0 green:(94)/255.0 blue:(94)/255.0 alpha:(1)]
#define PrimaryColor [UIColor colorWithRed:0.00 green:0.50 blue:1.00 alpha:1.00]

//重要 用于重要级文字信息；如：正文、类目
#define MatterColor [UIColor colorWithRed:(51)/255.0 green:(51)/255.0 blue:(51)/255.0 alpha:(1)]

//一般 用于普通级信息、引导词；如：弹层文案、查看更多之类
#define GeneralColor1 [UIColor colorWithRed:(142)/255.0 green:(142)/255.0 blue:(142)/255.0 alpha:(1)]

//一般 用于辅助、次要的文字信息、普通按钮描边；如：时间、来自等补充信息文案
#define GeneralColor2 [UIColor colorWithRed:(187)/255.0 green:(187)/255.0 blue:(187)/255.0 alpha:(1)]

//一般 用于分割线
#define GeneralColor3 [UIColor colorWithRed:(222)/255.0 green:(223)/255.0 blue:(224)/255.0 alpha:(1)]

#endif /* ColorMacros_h */
